//Just a simple Owner Changing Script
  resource.AddFile( "Easy_Engine_Sounds/OpenCloseCarDoor.wav" )
  resource.AddFile( "Easy_Engine_Sounds/GeneralLeeCarHorn.wav" )
  local Vehiclesound = Sound("Easy_Engine_Sounds/OpenCloseCarDoor.wav")


function ChangeOwner(ply,ent)
	if ent.ConnectedEngine then
	ent:EmitSound(Vehiclesound)
    ent.ConnectedEngine.Owner = ply
	end
end

hook.Add("PlayerEnteredVehicle","VehicleEntered",ChangeOwner)

